using System;
using FlatRedBall;
using MultiplayerTD.Entities;
using MultiplayerTD.Screens;
namespace MultiplayerTD.Screens
{
	public partial class MainMenu
	{
		void OnExitButtonClickTunnel (FlatRedBall.Gui.IWindow callingWindow)
		{
			if (this.ExitButtonClick != null)
			{
				ExitButtonClick( callingWindow);
			}
		}
		void OnExitButtonClick (FlatRedBall.Gui.IWindow callingWindow)
		{
			FlatRedBallServices.Game.Exit();
		}
		void OnStartGameButtonClickTunnel (FlatRedBall.Gui.IWindow callingWindow)
		{
			if (this.StartGameButtonClick != null)
			{
				StartGameButtonClick( callingWindow);
			}
		}
		void OnStartGameButtonClick (FlatRedBall.Gui.IWindow callingWindow)
		{
			MoveToScreen(typeof(MultiplayerTD.Screens.GameField).FullName);
		}
	}
}
